<template>
    <div class="imgWrap">
        <img v-show="isShow" src="../images/imgPlaceHolder.png" alt="">
        <img @load="loadImg" v-show="!isShow" :src="src" alt="">
    </div>
</template>
<script>
    export default {
        data() {
            return {
                isShow:true,
            }
        },
        props:["src"],
        methods:{
            loadImg(e){
                this.isShow = false;
            }
        }

    }
</script>
<style scoped lang="scss">
    .imgWrap{
        img{
            width: 100%;
        }
    }
</style>